package com.ruoyi.system.domain;

import com.ruoyi.common.core.web.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

public class TbBuildingType extends BaseEntity {

    private Integer id;

    private String name;

    private Integer index;

    public void setId(Integer id){
        this.id=id;
    }
    public Integer getId(){
        return id;
    }

    public void setName(String name){
        this.name = name;
    }
    public String getName(){
        return name;
    }

    public void setIndex(Integer index){
        this.index = index;
    }
    public Integer getIndex(){
        return index;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
                .append("id", getId())
                .append("name",getName())
                .append("index",getIndex())
                .toString();
    }
}
